package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusUserStat;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 2016/2/16.
 */
@Repository
public interface BusUserStatMapper extends Mapper<BusUserStat> {

    BusUserStat getOneByUserId(Map<String, Object> map);

    void updateRecharge(Map<String, Object> map);

    void updateCash(Map<String, Object> map);

    void updateInvest(Map<String, Object> map);

    void updateCoupon(Map<String, Object> map);

    List<Map> getTop();

    void updateInvestLaveAmount(Map map);

}
